Carbon


PBHGetVolParmsAsync

Header: Files.h Carbon status: Supported

Returns information about the characteristics of a volume.

OSErr PBHGetVolParmsAsync (
    HParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to a parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

You specify a volume (either by name or by volume reference number) and a buffer size, and PBHGetVolParmsAsync fills in the volume attributes buffer. You can use a name (pointed to by the ioNamePtr field) or a volume specification (contained in the ioVRefNum field) to specify the volume.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)